﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>
    /// 状态码
    /// </summary>
    public class StatusCode
    {
        private int _id;                // PK 状态码

        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }


        private string _name;              // 状态名字

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
    }


    public enum StatusCodeName
    {
        // HouseWanted  House
        未发布,
        已发布,
        // House
        已租出,
        已撤销,
        预约,
        // HouseWanted
        被招租,
        已租到,
        // HouseOrder
        未完成,
        已完成,
        客户取消,
        房主取消,
        // House
        已删除
    }
}


